// 存放状态
const state = {
  routes: {
     payType:{
       1:'微信',
       2:'支付宝'
     },
     rechargeState:{
       0:'待处理',
       1:'充值成功',
       2:'充值失败'
     },
     caseState:{
       0:'待处理',
       1:'提现成功',
       2:'提现失败'
     }
  },
  rules: {
    deal_timeout: [
      { required: true, message: "请输入未订单的支付等待时长", trigger: "blur" }
    ],
    deal_count: [
      { required: true, message: "请输入当日交易次数限制", trigger: "blur" }
    ],
    deal_reward_count: [
      { required: true, message: "请输入奖励交易次数", trigger: "blur" }
    ],
    vip_ordinary_commission: [
      { required: true, message: "请输入普通会员交易佣金", trigger: "blur" }
    ],
    vip_1_commission: [
      { required: true, message: "请输入上一级会员交易佣金", trigger: "blur" }
    ],
    vip_2_commission: [
      { required: true, message: "请输入上二级会员交易佣金", trigger: "blur" }
    ],
    vip_3_commission: [
      { required: true, message: "请输入上三级会员交易佣金", trigger: "blur" }
    ],
    vip_4_commission: [
      { required: true, message: "请输入上四级会员交易佣金", trigger: "blur" }
    ],
    vip_5_commission: [
      { required: true, message: "请输入上五级会员交易佣金", trigger: "blur" }
    ],
    deal_feedze: [
      { required: true, message: "请输入冻结时间", trigger: "blur" }
    ],
    deal_error: [
      { required: true, message: "请输入允许违规次数", trigger: "blur" }
    ],
    app_url: [
      { required: true, message: "请输入app下载地址", trigger: "blur" }
    ],
    version: [
      { required: true, message: "请输入版本号", trigger: "blur" }
    ],
    usdt_1: [
      { required: true, message: "请输入USDT-TRC充值地址", trigger: "blur" }
    ],
    usdt_2: [
      { required: true, message: "请输入USDT-ERC充值地址", trigger: "blur" }
    ],
  
  }
};

// 更改state中状态的逻辑，同步操作
const mutations = {};

// 提交mutation，异步操作
const actions = {};

export default {
  namespaced: true,
  state,
  mutations,
  actions
};
